package com.glodon.paas.job.agent.mq;

import javax.jms.Destination;

import com.glodon.paas.job.agent.worker.WorkerConfig;

public class MultipleDestination implements Destination {

    private WorkerConfig[] workerConfigs;

    public MultipleDestination(WorkerConfig[] workerConfigs) {
        this.workerConfigs = workerConfigs;
    }

    public WorkerConfig[] getWorkerConfigs() {
        return workerConfigs;
    }
}
